package com.itheima.work;

public class Work01 {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 4, 5};

        //用遍历打印数组所有数字
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + " ");

        }
    }
}
